import {post} from '../utils/request'

export function registerAPI(data) {
    return post('/user/register', data);
}

export function getTimeCodeAPI(data) {
    return post('/user/sendCode', data);
}

export function loginAPI(data) {
    return post('/user/login', data);
}
